package edu.gatech.cs2340.group7.wheresmystuffapp.model;

/**
 * Represents a Found Item reported by a user
 * @author tbowling3
 *
 */
public class FoundItem extends Item{
	private CustomDate dateFound;
	
	/**
	 * 
	 * @param user The username of the account responsible for creating this item
	 * @param name The name of the item
	 * @param category The category of the item
	 * @param description A description of the item
	 * @param location The location where the item was found
	 * @param dateFound The date the item was found
	 * @param picture The string id of the picture associated with this item
	 */
	public FoundItem(String user, String name, String category,  String description,
			ItemLocation il, CustomDate dateFound, byte[] pic) {
		super(user, category, name, description, il, pic);
		this.dateFound = dateFound;
	}

	


	/**
	 * @return the dateFound
	 */
	public CustomDate getDateFound() {
		return dateFound;
	}

	/**
	 * @param dateFound The dateFound to set
	 */
	public void setDateFound(CustomDate df) {
		this.dateFound = df;
	}

}
